/* `General` Component
---------------------------------------------------------------- */
body {
  height: auto;
}

.loading-message {
  font-size: 100px;
  color: #aaa;
  text-align: center;
}

.Nav {
  /* box-shadow: rgba(0,0,0,0.25) 0px 0px 8px; */
  background: #8E2DE2;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #4A00E0, #8E2DE2);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #4A00E0, #8E2DE2); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.nav button{
  background-color: white !important;
}

/* `Page` Component
---------------------------------------------------------------- */
.Page {
  height: 100%;
  width: 100%;
}

/* `Nav` Component
---------------------------------------------------------------- */
.Nav {
  /* box-shadow: rgba(0,0,0,0.25) 0px 0px 8px; */
}

/* `SelectModal` Component
---------------------------------------------------------------- */
.SelectModel__container {
  background: none !important;
  border: solid 1px #000 !important;
}

.SelectModal__header {
  background: #8E2DE2;
  color: #fff;
  border-bottom: none !important;
}

.SelectModal__close {
  color: #fff;
}

.SelectModel__content {
  background: #fff;
  padding: .6em .8em !important;
}

.SelectModal__buttons {
  background: #eee;
  overflow: hidden;
}

.SelectModal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  align-items: center;
}

.SelectModal__cell {
  
}
.SelectModal__cell--text > span {
  line-height: 40px;
}
.SelectModal__cell--action > button {
  float: right;
}

/* `Status` Component
---------------------------------------------------------------- */
.Status {
  position: absolute;
  /* z-index: 9999; */
  top: 3em;
  left: 0;
  right: 0;
  height: 32px;
  line-height: 32px;
  background:  	#303030;
  /* background: #999; */
  /* color: #fff; */
  display: flex;
  border-top: solid 0px #aaa;
  border-bottom: solid 0px #aaa;
}

.Status__filename {
  font-weight: normal;
  font-family: Courier New, Courier, monospace;
  margin-left: 20px;
  color: white;
  cursor: pointer;
}

.Status__connection {
  font-weight: bold;
  margin-right: 20px;
  flex: 1;
  text-align: right;
  text-transform: capitalize;
}
.Status__connection--connected {
  color: rgb(0, 255, 0);
}
.Status__connection--disconnected {
  color: red;
}

.Status__connection--reconnected {
  color: white;
}

.Status__connection--reconnecting{
  color: white;
}

.pseudo.button{
  color: white;
}

.blocklyToolboxDiv{
  background-color:  	#585858 !important;
  color: white;
}

.blocklyTreeRow{
  height: 52px !important;
}

menu .button{
  background-color: white !important;
}

.button{
  background-color: white !important;
  color: black !important;
}

button {
  margin: 0;
  background-color: #303030 !important;
  color: white !important;
}


.Status__sync {
  color: orange;
  /* font-size: 10px; */
  margin-left: 20px;
}

/* `TerminalView` Component
---------------------------------------------------------------- */
.TerminalView {
  position: fixed;
  z-index: 10001;
  left: 20px;
  top: 20px;
  right: 20px;
  bottom: 20px;
  border: solid 1px #000;
  line-height: 20px;
}

.TerminalView__term {
  height: 100%;
  background: #000;
}


button {
  margin: 0;
}

.file {
  display: none;
}

#workspace {
  height: calc(100vh - 3em - 32px);
  position: relative;
  margin-top: calc(3em + 32px);
  /* box-shadow: rgba(0,0,0,0.25) 0px 0px 8px; */
  overflow: hidden;
}

.blocklyMainBackground {
  stroke-width: 0 !important;
}

#toggleViewButton {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  opacity: 0.75;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: #fff;
  color: #000;
  /*border-left: solid 2px #aaa;
  border-bottom: solid 2px #aaa;*/
  text-transform: capitalize;
  box-shadow: 0 0 5px rgba(0,0,0,0.75);
}
#toggleViewButton:focus {
  outline: none;
}
#toggleViewButton:hover {
  background: #ccc;
}

#blockly {
  width: 100%;
  height: 100%;
  background-color: #ff0066;
}

#python {
  white-space: pre;
  font-family: Courier New, Courier, monospace;
  font-size: 20px;
  line-height: 28px;
  padding: 10px;
  background: #e7e7e7;
  border-top: solid 1px #000;
  border-bottom: solid 1px #000;
}

#editor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}